package com.jbp.model;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 访客记录(VisitorLog)实体
 * @author cc
 * @since 2020-06-21 22:46:33
 */
@ApiModel(value="VisitorLog")
@Data
public class VisitorLog implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //用户id
    @ApiModelProperty(value="用户id")    
    
    private Integer userId;

    //好友id
    @ApiModelProperty(value="好友id")    
    
    private Integer friendId;

    @TableField(exist = false)
    private String friendName;

    @TableField(exist = false)
    private int friendLevel;

    @TableField(exist = false)
    private boolean friendLevelOn;

    @TableField(exist = false)
    private String friendSex;

    @TableField(exist = false)
    private String friendImg;

    //访问时间
    @ApiModelProperty(value="访问时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;

}